package com.dingpeikeji.quickdeer.modules.base.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.modules.base.entity.TmpSms;

@MyBatisDao
public interface SendSmsDao {

	@Select("select * from tmp_messages")
	public List<TmpSms> select();

	@Delete("delete from tmp_messages where messageid = #{messageid}")
	public int deleteById(int messageid);

}
